; Jointly developed by Lotus Development Corporation and Threadz Limited
;
;
; Release Date: 24th July 1992
;
;
;
; Sys Messages are so that we can localize the install script easily
;
SYSMESSAGE 1 "Copying %s"
SYSMESSAGE 2 "Please insert %s into drive %c."
SYSMESSAGE 3 "Source file %s not found. Continue?"
SYSMESSAGE 4 "%s already exists. Overwrite?"
SYSMESSAGE 5 "Error creating %s"
SYSMESSAGE 6 "Deleting %s"
SYSMESSAGE 7 "Renaming %s"
SYSMESSAGE 8 "Cancel"
;
; Set the overall caption and open the status window for installation
;
#if INSTALL.INF
CAPTION Lotus Organizer 1.0 Installation
#elseif UNINSTAL.INF
CAPTION Lotus Organizer 1.0 Un-Installation
#else
GOTO Big_End
#endif
#if INSTALL.INF
;
; Check the users video resolution to see if we even want to bother installation
;
EQUALI $(VIDEOMODE) CGA
IF YES MESSAGE "Your monitor has a CGA display. Lotus Organizer requires a VGA display to operate. Please upgrade your hardware before installing the product."
IF YES GOTO Big_End
EQUALI $(VIDEOMODE) EGA
IF NO GOTO No_EGA
QUESTION "Your monitor has an EGA display. Lotus Organizer requires a VGA display to operate. If you install Lotus Organizer on this system, you may experience some display problems. Do you want to continue installation?"
IF NO GOTO Big_End
:No_EGA
;
; Get the user to record the serial number on his/her registration card
;
; NOT IN DEMO VERSION, so comment out !
; SHOWSERIAL Your serial number is %s. To become a registered user, fill out and mail in your Warranty Registration card.
#endif
OPENSTATUS Lotus Organizer Installation
;
; Check this workstation to see if Threadz Organizer Admin is still running
;
WINDOW TZ_ADMINCLASS
IF NO GOTO No_Threadz_Admin
MESSAGE Threadz Organizer Administrator program is running. You need to exit Install, close the Organizer Administrator and restart Install.
GOTO Big_End
:No_Threadz_Admin
;
; Check this workstation to see if Threadz Organizer Utils is still running
;
WINDOW ORGTESTCLASS
IF NO GOTO No_Threadz_Utils
MESSAGE Threadz Organizer Test program is running. You need to exit Install, close the Organizer Test program and restart Install.
GOTO Big_End
:No_Threadz_Utils
;
; Check this workstation to see if Lotus Organizer is already running
;
WINDOW TZ_PORG
IF NO GOTO Local_Org_Not_Running
MESSAGE Lotus Organizer is already running. You need to exit Install, close the Organizer and restart Install.
GOTO Big_End
:Local_Org_Not_Running
;
; Check this workstation to see if Lotus Organizer is already running
;
WINDOW TZ_FIXCLASS
IF NO GOTO Local_Utils_Not_Running
MESSAGE Lotus Organizer Utilities is running. You need to exit Install, close the Organizer Utilities and restart Install.
GOTO Big_End
:Local_Utils_Not_Running
;
; Set the source directory for installation
;
#if INSTALL.INF
SETSRCDIR $(STARTDIR)\Organize
$(USERDIR) = GETPROFILE $(WINDIR)\Lotus.Ini "Lotus Applications" Organize C:\Organize\Organize.Exe
$(DESTDIR) = LOOSEFILE $(USERDIR)
#else
SETSRCDIR $(STARTDIR)
SETDESTDIR $(STARTDIR)
#endif
;
; Get the user to modify the source and destination directories if necessary
;
:Get_Dirs
#if INSTALL.INF
EXIST $(SRCDIR)\Organize.Exe
IF NO GETSRCDIR Is Lotus Organizer install disk in the directory shown below?\rIf Yes, choose OK.\rIf No, retype the path and choose OK.\r\rTo stop installation, choose Cancel or press ESC.
GETDESTDIR Type the path where you want to install Lotus Organizer.\r\rChoose OK to continue installation, or Cancel to stop.
INSTR $(DESTDIR) A:
IF NO GOTO B_Check
GOTO Floppy_Question
:B_Check
INSTR $(DESTDIR) B:
IF NO GOTO Done_Floppy_Check
:Floppy_Question
QUESTION Are you sure you want to install Lotus Organizer in $(DESTDIR)?
IF NO GOTO Get_Dirs
:Done_Floppy_Check
EQUALI $(SRCDIR) $(DESTDIR)
IF NO GOTO Check_Extend
MESSAGE Cannot copy files to the Install Disk.
GOTO Get_Dirs
:Check_Extend
;
; Check the free space on the destination drive
;
:Dirs_OK
EXIST $(DESTDIR)\Organize.Exe
IF NO GOTO Space_Check
;
; If there was, ask them if they want to delete it
;
QUESTION A previous version of the Organizer exists. Do you want to delete it?
IF YES GOTO Attempt_Old_Delete
MESSAGE Installation terminated
CLOSESTATUS
GOTO Big_End
:Attempt_Old_Delete
;
; Attempt to delete Organize.Bin and then check to see it went, if not then another workstation may
MESSAGE Another user on your network is currently running Lotus Organizer. You need to exit Install, make sure that no one else is running the Organizer, then restart Install.
CLOSESTATUS
GOTO Big_End
:Space_Check
NEEDSPACE $(DESTDIR) 2800000 "%ld bytes are available on drive %c:. Lotus Organizer requires %ld bytes of disk space. Please select another drive."
IF NO GOTO Get_Dirs
:Skip_Space_Check
;
; Build the destination directories
;
MKDIR $(DESTDIR)\SAMPLE
MKDIR $(DESTDIR)\ORGFILES
;
; Setup disk list
;
RESETDISKS
DISKS "Lotus Organizer Install Disk"
;
; Determine which network drivers to install if at all
;
RESETFILES
#else
GETSRCDIR Is Lotus Organizer located in the directory shown below?\rIf Yes, choose OK.\rIf No, retype the path and choose OK.\r\rIf you do not want to remove Lotus Organizer from your hard drive,\rchoose Cancel or press ESC.
WRITEPROFILE $(WINDIR)\Win.Ini Windows Load "$(USERDIR)"
:No_Ini_Clean
MESSAGE Lotus Organizer has been removed from your system. If you removed it from a network drive, or SHARE is loaded, the $(SRCDIR) directory and UNINSTAL.EXE program still exist. These can be deleted using the Windows File Manager.